exports.GetDateStr=function(NowDay,AddDayCount) 
{ 
	var dd = new Date();
	if(NowDay>0) dd=new Date(NowDay*1000); 
	dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期 
	var y = dd.getFullYear(); 
	var m = dd.getMonth()+1;//获取当前月份的日期 
	var d = dd.getDate(); 
	return y+"-"+m+"-"+d; 
},

exports.ToLongDateStr=function(aDate) 
{ 
	var y = aDate.getFullYear(); 
	var m = aDate.getMonth()+1;//获取当前月份的日期 
	var d = aDate.getDate(); 
	var h = aDate.getHours(); 
	var min = aDate.getMinutes();//获取当前月份的日期 
	var s = aDate.getSeconds(); 
	return y+"-"+m+"-"+d+" "+h+":"+min+":"+s; 
} 